﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NWN.GDY.Web
{
    public partial class Welcome : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void lkbSubmit_Click(object sender, EventArgs e)
        {
            if (IsValid)
            {
                FormsAuthentication.SetAuthCookie(txtUserName.Text.Trim(), true);
                Response.Redirect("Room.aspx");
            }
        }
    }
}
